package com.jd.learn.core.key;

import com.jd.learn.domain.HotSwapModel;
import lombok.Data;

/**
 * @author shenkaiwen5
 * @version 1.0
 * @date 2020/12/25
 */
@Data
public class KeyHandlerFactory {
    private static final DefaultKeyHandler iKeyHandler = new DefaultKeyHandler();

    public static IKeyCollector<HotSwapModel, HotSwapModel> getCollector() {
        return iKeyHandler.getIKeyCollector();
    }
}
